package com.hy.pojo;

import lombok.Data;

import javax.persistence.Id;
import javax.persistence.Table;

/**
 * Created With IntelliJ IDEA.
 * Descriptions:
 * author: Mr.Du
 * Date: 2022/11/1
 * Time: 19:06
 */
@Data
@Table(name = "products")
public class Products {
    @Id
    private Integer id;
    
    // 商品名称
    private String name;
    
    // 商品价格
    private double price;
    
    // 商品上线状态
    private String flag;
    
    // 商品描述
    private String goodsDesc;
    
    // 商品图片
    private String images;
    
    // 商品库存
    private long goodsStock;
    
    // 商品类型
    private String goodsType;
}
